{if $Think.session.username == $guaranteeData.buyer }
<div class="ui-steps">
  <div class="wrap">
    <div class="{if $Request.param.step ==1}current{elseif $Request.param.step >1} finished{else}todo{/if}">
      <label><span class="round">1<i class="ui-icon icon-pc-right"></i></span><span>发布交易</span></label><i class="triangle-right-bg"></i><i class="triangle-right"></i>
    </div>
  </div>
    <div class="wrap">
    <div class="{if $Request.param.step ==2}current{elseif $Request.param.step >2}finished{else}todo{/if}">
      <label><span class="round">2<i class="ui-icon icon-pc-right"></i></span><span>等待对方确认</span></label><i class="triangle-right-bg"></i><i class="triangle-right"></i>
    </div>
  </div>

  <div class="wrap">
    <div class="{if $Request.param.step ==3}current{elseif $Request.param.step >3}finished{else}todo{/if}">
      <label><span class="round">3</span><span>买家付款</span></label><i class="triangle-right-bg"></i><i class="triangle-right"></i>
    </div>
  </div>
  <div class="wrap">
    <div class="{if $Request.param.step ==4}current{elseif $Request.param.step >4}finished{else}todo{/if}">
      <label><span class="round">4</span><span>卖家发货</span></label><i class="triangle-right-bg"></i><i class="triangle-right"></i>
    </div>
  </div>
  <div class="wrap">
    <div class="{if $Request.param.step ==5}current{elseif $Request.param.step >5}finished{else}todo{/if}">
      <label><span class="round">5</span><span>买家确认</span></label><i class="triangle-right-bg"></i><i class="triangle-right"></i>
    </div>
  </div>
    <div class="wrap">
    <div class="{if $Request.param.step ==6}current{elseif $Request.param.step >6}finished{else}todo last{/if}">
      <label><span class="round">6</span><span>双方互评</span></label>
    </div>
  </div>
</div>

{elseif $Think.session.username == $guaranteeData.seller}

<div class="ui-steps">

    <div class="wrap">
    <div class="{if $Request.param.step ==2}current{elseif $Request.param.step >2} finished{else}todo{/if}">
      <label><span class="round">1<i class="ui-icon icon-pc-right"></i></span><span>确认订单</span></label><i class="triangle-right-bg"></i><i class="triangle-right"></i>
    </div>
  </div>

  <div class="wrap">
    <div class="{if $Request.param.step ==3}current{elseif $Request.param.step >3} finished{else}todo{/if}">
      <label><span class="round">2</span><span>等待对方付款</span></label><i class="triangle-right-bg"></i><i class="triangle-right"></i>
    </div>
  </div>
  <div class="wrap">
    <div class="{if $Request.param.step ==4}current{elseif $Request.param.step >4} finished{else}todo{/if}">
      <label><span class="round">3</span><span>卖家发货</span></label><i class="triangle-right-bg"></i><i class="triangle-right"></i>
    </div>
  </div>
  <div class="wrap">
    <div class="{if $Request.param.step ==5}current{elseif $Request.param.step >5} finished{else}todo{/if}">
      <label><span class="round">4</span><span>买家确认</span></label><i class="triangle-right-bg"></i><i class="triangle-right"></i>
    </div>
  </div>
    <div class="wrap">
    <div class="{if $Request.param.step ==6}current{elseif $Request.param.step >6} finished{else}todo  last{/if}">
      <label><span class="round">5</span><span>双方互评</span></label>
    </div>
  </div>
</div>
{/if}